from django.contrib import admin

from create.models import Category, Create


# Register your models here.
@admin.register(Category)
class CategoryAdmin(admin.ModelAdmin):
    list_display = ['id','name']

@admin.register(Create)
class CreateAdmin(admin.ModelAdmin):
    list_display = ['id','category','name','user','story']